package com.test.designPattern.ch4.food;

import com.test.designPattern.ch4.Item;
import com.test.designPattern.ch4.pack.Packing;
import com.test.designPattern.ch4.pack.Wrapper;

/**
 * 汉堡，实现了item ，包装方法为纸盒包装
 */
public abstract class Burger implements Item {
    @Override
    public Packing packing() {
        return new Wrapper();
    }

    @Override
    public abstract float price();
}
